<!-- 
	缴获物品-通讯工具表
 -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	template="/layout/page/form/page-fieldset-template.xhtml"
    xmlns:sinox="http://www.sinosoft.com.cn/sinox">

    <ui:param name="pvb" value="#{commonContentViewBean.parent}"/>
	<ui:param name="compViewBean" value="#{commonContentViewBean}" />
	<ui:param name="compTitle" value="缴获物品-通讯工具表" />
	<ui:param name="compId" value="#{compViewBean.id}" />
	<!-- 缴获物品-通讯工具表 -->
	<ui:define name="compHiddens">
	</ui:define>
	<ui:define name="compContent">
	    <ui:decorate template="/layout/input/editable-template.xhtml">
	     <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="photos" />
				<ui:param name="compBean1Lable" value="照片显示" />	
				<ui:define name="compBean1Content">
					<h:graphicImage url="" ismap="true" width="150" height="130"
                       style="border:0px" title="照片显示"> </h:graphicImage>
				</ui:define>
		 </ui:decorate>
	    <!-- 第一行 -->
	     <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="casesn" />
				<ui:param name="compBean1Lable" value="案件编号" />	
				<ui:define name="compBean1Content">
					 <h:inputText id="casesn" value=" " />
				</ui:define>
		 </ui:decorate>
		  <!-- 第二行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="goodsType" />
				<ui:param name="compBean1Lable" value="物品类型" />
				<ui:param name="compBean2Id" value="brand" />
				<ui:param name="compBean2Lable" value="品   牌" />		
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="goodsType" codeSetId="id_c_txgj" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="brand" value=" " />
				</ui:define>
		 </ui:decorate>
		   <!-- 第三行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="author" />
				<ui:param name="compBean1Lable" value="型   号" />
				<ui:param name="compBean2Id" value="number" />
				<ui:param name="compBean2Lable" value="号    码" />		
				<ui:define name="compBean1Content">
					<h:selectOneMenu value="">
					    <f:selectItem itemLabel="请选择" itemValue="0" />
				     </h:selectOneMenu>
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="number" value=" " />
				</ui:define>
		 </ui:decorate>
		  <!-- 第四行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="electronNumber" />
				<ui:param name="compBean1Lable" value="电子串号" />
				<ui:param name="compBean2Id" value="photo" />
				<ui:param name="compBean2Lable" value="照   片" />		
				<ui:define name="compBean1Content">
					 <h:inputText id="electronNumber" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					 <p:fileUpload
						fileUploadListener="#{uploadPhoto}" mode="advanced"
						sizeLimit="1000000" allowTypes="png,gif,jpg">
						<h:inputHidden value="" />
					</p:fileUpload>
				</ui:define>
		 </ui:decorate>
		  <!-- 第五行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="cost" />
				<ui:param name="compBean1Lable" value="价    值" />
				<ui:param name="compBean2Id" value="color" />
				<ui:param name="compBean2Lable" value="颜    色" />		
				<ui:define name="compBean1Content">
					 <h:inputText id="cost" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					 <sinox:codeSetInputTree id="color" codeSetId="id_c_ys" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
		 </ui:decorate>
		 <!-- 第六行 -->
	     <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="habitat" />
				<ui:param name="compBean1Lable" value="产    地" />	
				<ui:define name="compBean1Content">
					 <h:inputText id="habitat" value=" " />
				</ui:define>
		 </ui:decorate>
		   <!-- 第七行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="huntUntil" />
				<ui:param name="compBean1Lable" value="查获单位" />
				<ui:param name="compBean2Id" value="huntMen" />
				<ui:param name="compBean2Lable" value="查 获 人" />		
				<ui:define name="compBean1Content">
					 <h:inputText id="huntUntil" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="huntMen" value=" " />
				</ui:define>
		  </ui:decorate>
		   <!-- 第八行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="huntDate" />
				<ui:param name="compBean1Lable" value="查获日期" />
				<ui:param name="compBean2Id" value="processMode" />
				<ui:param name="compBean2Lable" value="处理方式" />		
				<ui:define name="compBean1Content">
					 <p:calendar id="huntDate" pattern="yyyy-MM-dd" />
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="processMode" value=" " />
				</ui:define>
		  </ui:decorate>
		  <!-- 第九行 -->
		   <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="remark" />
				<ui:param name="compBean1Lable" value="特征及备注" />	
				<ui:define name="compBean1Content">
				    <h:inputTextarea
					 style="width:700px;height:100px;overflow:auto;"
					 id="remark" effectDuration="400"
					 value=" " />
				</ui:define>
		  </ui:decorate>
	    </ui:decorate>
	</ui:define>
	        <ui:define name="compButtons">
				<p:commandButton
					title="保存"
					onstart="this.disabled=true"
					image="./img/icons/add.png" value="保存" style="margin:5px;"
					>
					<h:inputHidden value="" />
				</p:commandButton>
				<p:commandButton title="重置" image="ui-icon-disk" value="重置"></p:commandButton>
			</ui:define>
</ui:composition>